grant-tables: Use get_page_from_gfn() instead of get_gfn()/put_gfn.
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 17 May 2012 09:24:54 +0000 (10:24 +0100)
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 17 May 2012 09:24:54 +0000 (10:24 +0100)
commitd8cbecb1eeed023b5c314dca9fd605e6284cc080
treea17cca179de248fcd3b7dc5ed7c8e4b0da0dffd7
parent06e7bfed2061b590711a99eb3713fb52aee25152
grant-tables: Use get_page_from_gfn() instead of get_gfn()/put_gfn.

This requires some careful re-engineering of __get_paged_frame and its callers.
Functions that previously returned gfn's to be put now return pages to be put.

Tested with Win7 + Citrix PV drivers guest, using speedtest for networking
(yes!) plus the loginVSI framework to constantly hit disk.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
xen/common/grant_table.c